package com.swt.testdemo.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.swt.testdemo.entity.SysMsgEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @author BleethNie
 * @date 2020-06-16 17:58:09
 */
@Mapper
@Repository
public interface SysMsgDao extends BaseMapper<SysMsgEntity> {

    IPage<SysMsgEntity> listMsg(Page<SysMsgEntity> entityPage,
                                @Param("msgContentFilter") String msgContentFilter,
                                @Param("msgLevelFilter") String msgLevelFilter,
                                @Param("msgTypeFilter") String msgTypeFilter);


}
